# install management tools
yum install -y m2crypto python-setuptools
easy_install pip
pip install cymysql


cd ~
# git clone -b manyuser https://github.com/mengskysama/shadowsocks.git
git clone https://git.oschina.net/tingyang/Shadowsocks.git
cd sha*/sha*
# vim Config.py and Setting


# install final speed
cd ~/dl
wget http://fs.d1sm.net/finalspeed/install_fs.sh
chmod -R 777 install_fs.sh
./install_fs.sh
# install finished


# startup
echo 'cd /root/shadowsocks/shadowsocks/' >> /etc/rc.local
echo 'nohup python server.py &' >> /etc/rc.local
echo 'sh /fs/start.sh' >> /etc/rc.local


# hostname
vim /etc/hosts
vim /etc/sysconfig/network

echo 'Port 28756 ' >> /etc/ssh/sshd_config


shutdown -r 0